package reader

import (
	"time"
)

func Run(quit <-chan struct{}) {
	tk := time.NewTicker(5 * time.Second)
	for {
		select {
		case <-tk.C:
			dumpEmployee()
		case <-quit:
			return
		}
	}
}

func dumpEmployee() {
	//var rs []model.Employee
	//d := db.DB()
	//d.Find(&rs)
	//log.Println(rs)
}
